/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023-07-03     18421       the first version
 */
#include <ota.h>

static OTA_CTR_INFO_Struct ota_ctr_info = { 0 };//ota过程 信息
/**
 * 获取结构体地址
 */
ota_info_stuct_t ota_get_info_struct()
{
    return &ota_ctr_info;
}
#define SOCKET 0  //默认socket使用0
#define IP ""
#define PORT ""

int tcpConnect()
{
    Air724x_tcp_establishConn(SOCKET,IP,PORT);

    return 1;
}
